package com.tutu.aop.entity;

import org.springframework.stereotype.Component;

/**
 * @Program: SpringBoot
 * @Description: 实体类
 * @Author: JK.TuTu
 * @Create: 2022-11-04 10:41
 **/

public class User {
    private String name;
    private String age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public User(String name, String age) {
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", age='" + age + '\'' +
                '}';
    }
}
